//
// Created by 李传智 on 2018/4/14.
//

#ifndef ANDSDK_SLAUDIOPLAY_H
#define ANDSDK_SLAUDIOPLAY_H


#include "IAudioPlay.h"

class SLAudioPlay : public IAudioPlay {

public:

    SLAudioPlay();

    virtual ~SLAudioPlay();

    virtual bool startPlay(CodecParameter out);

    virtual void close();

    virtual void playCallback(void *_bufferQueue);

private:

    unsigned char *buf;
};


#endif //ANDSDK_SLAUDIOPLAY_H
